//
//  CommentCell.h
//  CarLife
//
//  Created by yu on 2019/4/2.
//  Copyright © 2019年 jpas. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class CommentModel;

@protocol CommentDelegate <NSObject>

- (void)showAllComments:(NSInteger)index;

@end

@interface CommentCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UIImageView *iconImgView;
@property (weak, nonatomic) IBOutlet UILabel *nicknameLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
@property (weak, nonatomic) IBOutlet UIButton *allCommentBtn;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UIButton *commentBtn;
@property (weak, nonatomic) IBOutlet UIButton *likeBtn;

@property (nonatomic, weak) id<CommentDelegate>delegate;

@property (nonatomic, strong) CommentModel *cModel;

@end

NS_ASSUME_NONNULL_END
